package com.colin.aiyi.app;

import java.security.PublicKey;

/**
 * Created by hl on 2017/5/25.
 */

public class Constant {

//    public final static  String BASE_URL="http://10.40.201.10:8086";//内网
    public final static  String BASE_URL="http://116.228.89.136:8086";// 外网
    public static final String APP_ID="wx85f5b66b6d8ef871";
    public static  final String WX_SWCRET="0639b2391db3a7adb703d30151f1fe24";
    public static final int TIMER=60*1000;
    public final static int MIAN=1;  /*主页*/

    public final static int PAGESIZE= 10;

    public final static boolean debug=true;
    /*1:人气 2：最新  3已购买 4我观看的,5我收藏的*/ //  一句列表*/一句我的收藏*/
    public final static  String TAB_TYPE_SAY_HOT ="1" ;//
    public final static  String TAB_TYPE_SAY_NEW="2" ;//
    public final static  String TAB_TYPE_SAY_VIP ="3" ;//
    public final static  String TAB_TYPE_SAY_WACTH ="4" ;//
    public final static  String TAB_TYPE_SAY_LIKE ="5";//
    public final static  String TAB_TYPE_LIST ="6" ;//
    public final static  String TAB_TYPE_LIKE="7";//
    public final static  String TAB_TYPE_MSG="8";//



    public final static  int SHOW_NONE=0x900;
    public final static  int SHOW_GOTOP_ONLY=0x901;
    public final static  int SHOW_MUSIC_ONLY=0x902;
    public final static  int SHOW_ALL=0x903;
    public final static  int SHOW_MUSIC=0x904;
    public final static  int HIDE_MUSIC=0x905;




   /* 无奈添加请求类别，*/
   public final static  int CODE_NET_ERROR =0x79f   ;//+"/api/v1/discourse/list";

    public final static  int CODE_NET_TIMEOUT_ =0x800   ;//+"/api/v1/discourse/list";

    /* 一句列表*/
    public final static  int CODE_DISCOURSE_list =0x801   ;//+"/api/v1/discourse/list";
    /* 一句收藏列表接口*/
    public final static  int  CODE_DISCOURSE_discourseLikeList=0x802   ;//+"/api/v1/discourse/discourseLikeList";
    /* 一说列表（人气或最新）*/
    public final static  int  CODE_SAY_list=0x803   ;//+"/api/v1/say/list";
    /* 一说列表（已购买）*/
    public final static  int  CODE_SAY_vipList=0x804   ;//+"/api/v1/say/vipList";
    /* 一说列表（我观看的）*/
    public final static  int  CODE_SAY_watchList=0x805   ;//+"/api/v1/say/watchList";
    /*一说列表（我收藏的）*/
    public final static  int  CODE_SAY_sayLikeList=0x806   ;//+"/api/v1/say/sayLikeList";
    /* 一说详情（包含推荐列表）*/
    public final static  int  CODE_SAY_getDetail=0x807   ;//+"/api/v1/say/getDetail";

    public final static  int  CODE_SAY_H5_Detail=0x808   ;//+"/api/v1/say/getH5Detail?id=";
    /*一说评论列表*/
    public final static  int  CODE_SAY_commentList=0x809   ;//+"/api/v1/say/commentList";
    /* 观看*/
    public static final int  CODE_SAY_watch=0x80a  ;//+"/api/v1/say/watch";
    /* 评论*/
    public static final int  CODE_SAY_comment=0x80b   ;//+"/api/v1/say/comment";
    /*  收藏或者取消收藏*/
    public static final int  CODE_LIKE_doLike=0x80c  ;//+"/api/v1/like/doLike";
    /*基础信息列表*/
    public static final int  CODE_getListByCode=0x80d  ;//+"/api/v1/base/getListByCode";
    /* 一鸣惊人详情*/
    public static final int  CODE_AUDIO_detail=0x80e   ;//+"/api/v1/audio/detail";
    public static final int  CODE_AUDIO_update=0x80f  ;//+"/api/v1/audio/update";
    /*添加*/
    public static final int  CODE_AUDIO_save=0x8011   ;//+"/api/v1/audio/save";
    /*  banner列表*/
    public static final int  CODE_list=0x8012   ;//+"/api/v1/activity/list";
    /*详情*/
    public static final int  CODE_banner_detail=0x8013   ;//+"/api/v1/activity/getDetail";
    /*注册发送验证码*/
    public static final int  CODE_register_sendCode=0x8014   ;//+"/api/v1/login/register/sendCode";
    /* 第三方账号登录时绑定手机发送验证码*/
    public static final int  CODE_bind_sendCode=0x8015   ;//+"/api/v1/login/out/bind/sendCode";
    /* 忘记密码发送验证码*/
    public static final int  CODE_forgetPassword_sendCode=0x8016   ;//+"/api/v1/login/forgetPassword/sendCode";
    /* 忘记密码后重置密码*/
    public static final int  CODE_login_forgetPassword=0x8017   ;//+"/api/v1/login/forgetPassword";
    /*修改密码发送验证码*/
    public static final int  CODE_updatePassword_sendCode=0x8018   ;//+"/api/v1/login/updatePassword/sendCode";
    /* 修改密码*/
    public static final int  CODE_updatePassword=0x8019   ;//+"/api/v1/user/updatePassword";
    /* 用户注册接口*/
    public static final int  CODE_register=0x801a   ;//+"/api/v1/login/register";
    /* 登录*/
    public static final int  CODE_login=0x801b   ;//+"/api/v1/login/login";
    /*得到我的个人信息*/
    public static final int  CODE_getUserInfo=0x801c   ;//+"/api/v1/user/getUserInfo";
    /*修改个人信息*/
    public static final int  CODE_saveUserInfo=0x801d   ;//+"/api/v1/user/saveUserInfo";
    /*    用户意见反馈*/
    public static final int  CODE_feedback=0x801e   ;//+"/api/v1/feedback/save";
    /*得到城市信息列表*/
    public static final int  CODE_find_city=0x801f   ;//+"/api/v1/area/findCityBytParent";
    public static final int  CODE_msg_List=0x8020   ;//+"/api/v1/pushMessage/list";
    public static final int  CODE_msg_read=0x8021   ;//+"/api/v1/pushMessage/read";
    public static final int  CODE_msg_delete=0x8022   ;//+"/api/v1/pushMessage/delete";
    public static final int  CODE_uploadImg=0x8023   ;//+"/api/v1/user/uploadImg";
    /*
        第三方登录时手机绑定*/
    public static final int  CODE_bind_login=0x8024   ;//+"/api/v1/login/out/bind";
    /*  第三方登录时手机不绑定*/
    public static final int  CODE_bind_login_no=0x8025   ;//+"/api/v1/login/out/noBind";


    /*   API地址*/

    public static final String CLIENT_ID="93e1ff32072c4f57b16e39ee77d7d68b";
    public static final String CLIENT_SECRET="a6a3d880fc0c41f79b23e9b044b1f402";
    /* 一句列表H5*/
    public final static  String discourse_list_H5 = BASE_URL+"/api/v1/discourse/getH5Detail?id=";

   /* 一句列表*/
     public final static  String DISCOURSE_list = BASE_URL+"/api/v1/discourse/list";
   /* 一句收藏列表接口*/
     public final static  String  DISCOURSE_discourseLikeList= BASE_URL+"/api/v1/discourse/discourseLikeList";
   /* 一说列表（人气或最新）*/
     public final static  String  SAY_list= BASE_URL+"/api/v1/say/list";
   /* 一说列表（已购买）*/
     public final static  String  SAY_vipList= BASE_URL+"/api/v1/say/vipList";
   /* 一说列表（我观看的）*/
     public final static  String  SAY_watchList= BASE_URL+"/api/v1/say/watchList";
    /*一说列表（我收藏的）*/
     public final static  String  SAY_sayLikeList= BASE_URL+"/api/v1/say/sayLikeList";
   /* 一说详情（包含推荐列表）*/
     public final static  String  SAY_getDetail= BASE_URL+"/api/v1/say/getDetail";

    public final static  String  SAY_H5_Detail= BASE_URL+"/api/v1/say/getH5Detail?id=";
    /*一说评论列表*/
    public final static  String  SAY_commentList= BASE_URL+"/api/v1/say/commentList";
   /* 观看*/
public static final String  SAY_watch=BASE_URL+"/api/v1/say/watch";
   /* 评论*/
public static final String  SAY_comment=BASE_URL+"/api/v1/say/comment";
  /*  收藏或者取消收藏*/
public static final String  LIKE_doLike=BASE_URL+"/api/v1/like/doLike";
    /*基础信息列表*/
public static final String  getListByCode=BASE_URL+"/api/v1/base/getListByCode";
   /* 详情*/
public static final String AUDIO_detail=BASE_URL+"/api/v1/audio/detail";
public static final String AUDIO_update=BASE_URL+"/api/v1/audio/update";
    /*添加*/
public static final String AUDIO_save=BASE_URL+"/api/v1/audio/save";
  /*  banner列表*/
public static final String  list=BASE_URL+"/api/v1/activity/list";
    /*详情*/
public static final String  banner_detail=BASE_URL+"/api/v1/activity/getDetail";
    /*注册发送验证码*/
public static final String  register_sendCode=BASE_URL+"/api/v1/login/register/sendCode";
   /* 第三方账号登录时绑定手机发送验证码*/
public static final String  bind_sendCode=BASE_URL+"/api/v1/login/out/bind/sendCode";
   /* 忘记密码发送验证码*/
public static final String  forgetPassword_sendCode=BASE_URL+"/api/v1/login/forgetPassword/sendCode";
   /* 忘记密码后重置密码*/
public static final String  login_forgetPassword=BASE_URL+"/api/v1/login/forgetPassword";
    /*修改密码发送验证码*/
public static final String  updatePassword_sendCode=BASE_URL+"/api/v1/login/updatePassword/sendCode";
   /* 修改密码*/
public static final String  updatePassword=BASE_URL+"/api/v1/user/updatePassword";
   /* 用户注册接口*/
public static final String  register=BASE_URL+"/api/v1/login/register";
   /* 登录*/
public static final String  login=BASE_URL+"/api/v1/login/login";
    /*得到我的个人信息*/
public static final String  getUserInfo=BASE_URL+"/api/v1/user/getUserInfo";
    /*修改个人信息*/
public static final String  saveUserInfo=BASE_URL+"/api/v1/user/saveUserInfo";



/*    用户意见反馈*/
public static final String  feedback=BASE_URL+"/api/v1/feedback/save";
    /*得到城市信息列表*/
public static final String  find_city=BASE_URL+"/api/v1/area/findCityBytParent";


public static final String  msg_List=BASE_URL+"/api/v1/pushMessage/list";
public static final String  msg_read=BASE_URL+"/api/v1/pushMessage/read";
public static final String  msg_delete=BASE_URL+"/api/v1/pushMessage/delete";
public static final String  uploadImg=BASE_URL+"/api/v1/user/uploadImg";
/*
    第三方登录时手机绑定*/
public static final String  bind_login=BASE_URL+"/api/v1/login/out/bind";
  /*  第三方登录时手机不绑定*/
public static final String  bind_login_no=BASE_URL+"/api/v1/login/out/noBind";
public static final String  check_WX_Login=BASE_URL+"/api/v1/login/checkThirdLogin";
//public static final String  =BASE_URL+"";
//public static final String  =BASE_URL+"";
//public static final String  =BASE_URL+"";
//public static final String  =BASE_URL+"";
//public static final String  =BASE_URL+"";
//public static final String  =BASE_URL+"";
//public static final String  =BASE_URL+"";
//public static final String  =BASE_URL+"";
//public static final String  =BASE_URL+"";
//public static final String  =BASE_URL+"";
//public static final String  =BASE_URL+"";
//public static final String  =BASE_URL+"";
//public static final String  =BASE_URL+"";
//public static final String  =BASE_URL+"";
//public static final String  =BASE_URL+"";
//public static final String  =BASE_URL+"";
//public static final String  =BASE_URL+"";
//public static final String  =BASE_URL+"";
//public static final String  =BASE_URL+"";
//public static final String  =BASE_URL+"";
//public static final String  =BASE_URL+"";
//public static final String  =BASE_URL+"";
//public static final String  =BASE_URL+"";
//public static final String  =BASE_URL+"";
//public static final String  =BASE_URL+"";
//public static final String  =BASE_URL+"";
//public static final String  =BASE_URL+"";





}
